package com.gzist.elderlyserviceplatform.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gzist.elderlyserviceplatform.entity.dto.*;
import com.gzist.elderlyserviceplatform.entity.po.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * 用户表 服务类
 */
public interface UserService extends IService<User> {

    void login(LoginDTO loginDTO);

    void register(RegisterUserDto registerUserDto);

    Page<User> queryPage(UserPageDTO userPageDTO);

    void updateUser(UserInfoSave0rUpdateDTO user);

    String verifyAccount(Map<String, String> param);

    void resetPassword(Map<String, String> param);

    void updatePassword(UpdatePasswordDTO updatePasswordDTO);
}
